/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       fixedjoint.h
 * Author:     karooolek
 * Created on: 2010-04-11
 *
 **********************************************************************************************************************/

#ifndef FIXEDJOINT_H_
#define FIXEDJOINT_H_

#include "joint.h"

namespace mGameEngine
{
namespace Physics
{

/**
 * Fixed joint.
 */
class FixedJoint : public Joint
{
public:
    /**
     * Create fixed joint.
     */
    FixedJoint();

    /**
     * Destroy fixed joint.
     */
    ~FixedJoint();
    
    /**
     * Create PhysX fixed joint between two PhysX actors.
     * @param actor1 first PhysX actor.
     * @param actor2 second PhysX actor.
     */
    virtual void create(NxActor *actor1, NxActor *actor2) const;
};

}
}

#endif // FIXEDJOINT_H_
